package com.heima.behavior.service.impl;

public class Test {
        String str=new String("good");
        char[] ch={ 'a','b','c'};
    public static void main(String[] args) {

        Test e=new Test();
        e.change(e.str,e.ch);
        System.out.println(e.str);
        System.out.println(e.ch);

    }

    private void change(String str, char[] ch) {
        str="test ok";
        ch[0]='g';
    }


}
